package com.stock.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class StockTradeDataResultVo {

    @ApiModelProperty("股票编码")
    private String stockCode;

    @ApiModelProperty("股票名称")
    private String stockName;

    @ApiModelProperty("买入价格")
    private BigDecimal buyPrice;

    @ApiModelProperty("卖出价格")
    private BigDecimal sellPrice;

    @ApiModelProperty("收益率")
    private String profitRate;

    @ApiModelProperty("买入时间")
    private String buyTime;

    @ApiModelProperty("卖出时间")
    private String sellTime;

    @ApiModelProperty("持有天数")
    private Integer holdDays;

}
